#ifndef __SGM_H__
#define __SGM_H__


//硬件信息*********************************************************
#define BSP_GPIO_SGM 4
#define BSP_GPIO_SGM_SET(gpio_num, level) do{ \
    gpio_set_level(gpio_num, level); \
} while(0)
#define BSP_GPIO_SGM_INIT(gpio_num) do{ \
    gpio_config_t io_conf; \
    io_conf.intr_type = GPIO_INTR_DISABLE; \
    io_conf.mode = GPIO_MODE_OUTPUT; \
    io_conf.pin_bit_mask = 1ULL << gpio_num; \
    io_conf.pull_down_en = GPIO_PULLDOWN_DISABLE; \
    io_conf.pull_up_en = GPIO_PULLUP_DISABLE; \
    gpio_config(&io_conf); \
} while(0)
//***************************************************************


void sgm_app_main(void);


#endif
